home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / circuits / pcb-1.000 / pcb-1 / pcb-1.3 / change.h < prev    next >
C/C++ Source or Header  |  1995-02-26  |  2KB  |  63 lines

  1. /*
  2.  *                            COPYRIGHT
  3.  *
  4.  *  PCB, interactive printed circuit board design
  5.  *  Copyright (C) 1994,1995 Thomas Nau
  6.  *
  7.  *  This program is free software; you can redistribute it and/or modify
  8.  *  it under the terms of the GNU General Public License as published by
  9.  *  the Free Software Foundation; either version 2 of the License, or
  10.  *  (at your option) any later version.
  11.  *
  12.  *  This program is distributed in the hope that it will be useful,
  13.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15.  *  GNU General Public License for more details.
  16.  *
  17.  *  You should have received a copy of the GNU General Public License
  18.  *  along with this program; if not, write to the Free Software
  19.  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20.  *
  21.  *  Contact addresses for paper mail and Email:
  22.  *  Thomas Nau, Schlehenweg 15, 88471 Baustetten, Germany
  23.  *  Thomas.Nau@rz.uni-ulm.de
  24.  *
  25.  *  RCS: $Header: change.h,v 2.1 94/09/28 14:26:04 nau Exp $
  26.  */
  27.  
  28. /* prototypes to change object properties
  29.  */
  30.  
  31. #ifndef    __CHANGE_INCLUDED__
  32. #define    __CHANGE_INCLUDED__
  33.  
  34. #include "global.h"
  35.  
  36. /* ---------------------------------------------------------------------------
  37.  * some defines
  38.  */
  39. #define    CHANGENAME_TYPES        \
  40.     (VIA_TYPE | PIN_TYPE | TEXT_TYPE | ELEMENT_TYPE)
  41.  
  42. #define    CHANGESIZE_TYPES        \
  43.     (VIA_TYPE | PIN_TYPE | LINE_TYPE | TEXT_TYPE | ELEMENTNAME_TYPE)
  44.  
  45. #define    CHANGE2NDSIZE_TYPES     \
  46.     (VIA_TYPE | PIN_TYPE)
  47.  
  48.  
  49. Boolean    ChangeLayoutName(char *);
  50. Boolean    ChangeLayerName(LayerTypePtr, char *);
  51. Boolean    ChangeSelectedPinSize(Position);
  52. Boolean    ChangeSelectedPin2ndSize(Position);
  53. Boolean    ChangeSelectedViaSize(Position);
  54. Boolean    ChangeSelectedVia2ndSize(Position);
  55. Boolean    ChangeSelectedLineSize(Position); 
  56. Boolean    ChangeObjectSize(int, void *, void *, Position);
  57. Boolean    ChangeObject2ndSize(int, void *, void *, Position);
  58. char    *ChangeObjectName(int, void *, void *, char *);
  59. Boolean    QueryInputAndChangeObjectName(int, void *, void *);
  60.  
  61. #endif
  62.  
  63.